package com.tudouji.project.bill.mapper;

import java.util.List;
import com.tudouji.project.bill.domain.Whinforecord;

/**
 * 每日库存Mapper接口
 * 
 * @author tudouji
 * @date 2023-04-27
 */
public interface WhinforecordMapper 
{
    /**
     * 查询每日库存
     * 
     * @param guid 每日库存ID
     * @return 每日库存
     */
    public Whinforecord selectWhinforecordById(String guid);

    /**
     * 查询每日库存列表
     * 
     * @param whinforecord 每日库存
     * @return 每日库存集合
     */
    public List<Whinforecord> selectWhinforecordList(Whinforecord whinforecord);
    public Whinforecord selectWhinforecord(Whinforecord whinforecord);

    /**
     * 新增每日库存
     * 
     * @param whinforecord 每日库存
     * @return 结果
     */
    public int insertWhinforecord(Whinforecord whinforecord);

    /**
     * 修改每日库存
     * 
     * @param whinforecord 每日库存
     * @return 结果
     */
    public int updateWhinforecord(Whinforecord whinforecord);

    /**
     * 删除每日库存
     * 
     * @param guid 每日库存ID
     * @return 结果
     */
    public int deleteWhinforecordById(String guid);

    /**
     * 批量删除每日库存
     * 
     * @param guids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWhinforecordByIds(String[] guids);

    List<Whinforecord> getPreRecord(Whinforecord record);

    void deleteNowRecord(Whinforecord record);

    List<Whinforecord> getNowWhinY(Whinforecord record);

    List<Whinforecord> getNowWhoutY(Whinforecord record);

    void insertAllDay();
}
